<?php 

$this->headScript()
		->appendFile($this->baseUrl()."/js/jquery/development-bundle/ui/jquery.ui.core.js")
		->appendFile($this->baseUrl()."/js/jquery/development-bundle/ui/jquery.ui.widget.js")
		->appendFile($this->baseUrl()."/js/jquery/development-bundle/ui/jquery.ui.button.js");
$this->headLink()->appendStylesheet($this->baseUrl(). '/js/jquery/development-bundle/themes/ui-lightness/jquery.ui.all.css');
$this->headTitle('Editar Tienda');
?>
<p class="errorText">&nbsp;<?php echo $this->messageError; ?></p>
<div class="section">
<div class="section_inner">
<div class="title_wrapper">
	<h2>Configuración de tienda</h2>

</div>
<div class="section_content">

			<form action="<?php echo $this->baseUrl();?>/admin/company/edit/Id/<?php echo  $this->Data['Id']; ?>/"  method="post" id="addform"  class="search_form general_form">
<!--[if !IE]>start fieldset<![endif]-->
								<fieldset>
									<!--[if !IE]>start forms<![endif]-->
			<div class="forms">			
			<input type="hidden" name="Id" value="<?php echo  $this->Data['Id']; ?>" />			
			  
			<!--[if !IE]>start row<![endif]-->
			<div class="row">
				<label>Nombre de la Tienda:</label>
				<div class="inputs">
					<span class="input_wrapper">
					<input class="text" type="text" name="CompanyName" size = "33" maxlength = "32" value="<?php echo $this->Data['Company_Name'];?>" />
					</span>
					<span class="system positive"></span>
				</div>
			</div>
			<!--[if !IE]>end row<![endif]-->
			 
			 

			<!--[if !IE]>start row<![endif]-->
			<div class="row">
				<label>Email del propietario:</label>
				<div class="inputs">
					<span class="input_wrapper">
					<input class="text" type="text" name="OwnerEmail" size = "33" maxlength = "32" value="<?php echo $this->Data['Owner_Email'];?>" />
					
					</span>
					<span class="system positive"></span>
				</div>
			</div>
			<!--[if !IE]>end row<![endif]-->
			

			<!--[if !IE]>start row<![endif]-->
			<div class="row">
				<label>Nombre del propietario:</label>
				<div class="inputs">
					<span class="input_wrapper">
					<input class="text" type="text" name="OwnerName" size = "33" maxlength = "32" value="<?php echo $this->Data['Owner_Name'];?>" />
					
					</span>
					<span class="system positive"></span>
				</div>
			</div>
			<!--[if !IE]>end row<![endif]-->
						 
			<!--[if !IE]>start row<![endif]-->
			<div class="row">
				<label>Email de Información:</label>
				<div class="inputs">
					<span class="input_wrapper">
					<input class="text" type="text" name="InformationEmail" size = "33" maxlength = "32" value="<?php echo $this->Data['Information_Email'];?>" />
					
					</span>
					<span class="system positive"></span>
				</div>
			</div>
			<!--[if !IE]>end row<![endif]-->
			
			 
			<!--[if !IE]>start row<![endif]-->
			<div class="row">
				<label>Nombre de Información:</label>
				<div class="inputs">
					<span class="input_wrapper">
					<input class="text" type="text" name="InformationName" size = "33" maxlength = "32" value="<?php echo $this->Data['Information_Name'];?>" />
					
					</span>
					<span class="system positive"></span>
				</div>
			</div>
			<!--[if !IE]>end row<![endif]-->
			
			<!--[if !IE]>start row<![endif]-->
			<div class="row">
				<label>Email de Contacto:</label>
				<div class="inputs">
					<span class="input_wrapper">
					<input class="text" type="text" name="ContactEmail" size = "33" maxlength = "32" value="<?php echo $this->Data['Contact_Email'];?>" />
					
					</span>
					<span class="system positive"></span>
				</div>
			</div>
			<!--[if !IE]>end row<![endif]-->
			

			<!--[if !IE]>start row<![endif]-->
			<div class="row">
				<label>Url del sitio:</label>
				<div class="inputs">
					<span class="input_wrapper">
					<input class="text" type="text" name="UrlSite" size = "33" maxlength = "32" value="<?php echo $this->Data['Url_Site'];?>" />
					
					</span>
					<span class="system positive"></span>
				</div>
			</div>
			<!--[if !IE]>end row<![endif]-->
			

						<a href="<?php echo $this->baseUrl();?>/admin/company/" id="canceladd">Cancelar</a>
						<input type="submit" id="editcompany" name="agregar"  value="guardar" />
			    	
			    	</div>
			    </fieldset>
			    
			    	
			</form>
</div>
</div>
</div>

<script type="text/javascript">
$(document).ready(function(){
	$("#canceladd, #editcompany").button();
});
</script>

